package com.liu.cloud.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author LIU
 * @version 1.0
 * @description: TODO
 * @date 2023/6/18 18:16
 */
@Configuration
@ConfigurationProperties(prefix = "user")
public class UserProperties {
    private String username;

    private String age;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
